//
//  BiBaseViewController.h
//  CodoonBikeApp
//
//  Created by ChenBin on 14-3-28.
//  Copyright (c) 2014年 Nahan Cop. All rights reserved.
//

#import "BiNaviBarView.h"

@class BiNavMenuView;

@interface BiBaseViewController : UIViewController
{
    // 针对IOS7来用的
    int _topMargin;
    
    BiNaviBarView * _naviBarView;
}
//@property (nonatomic,retain) BiService *service;

- (int)viewTop;

- (void)addTestView;

- (void)setNavBarWithHidden:(BOOL)hidden;
- (void)setNavBarTitle:(NSString *)title;
- (void)setNavBarTitleImage:(UIImage*)image;
- (void)setNavBackBtn;
- (void)setNavLeftButton:(UIImage *)icon target:(id)target action:(SEL)action;
- (void)setNavRightButton:(UIImage *)icon target:(id)target action:(SEL)action;
- (void)setNavRightButtonTitle:(NSString*)title target:(id)target action:(SEL)action;
- (void)removeNavRightBtn;

- (void)showTipsView:(NSString*)tipText;
- (void)removeTipsView;
- (void)showAlertView:(NSString*)tipText;

- (void)onAlertViewOkBtnClick;

- (BOOL)isConnectToNetwork;

@end
